class_name GameInputEvents

static func movement_input() -> Vector2:
	var direction : Vector2 = Vector2.ZERO
	if Input.is_action_pressed("move_left"):
		direction = Vector2.LEFT
	elif Input.is_action_pressed("move_right"):
		direction = Vector2.RIGHT
	elif Input.is_action_pressed("move_up"):
		direction = Vector2.UP
	elif Input.is_action_pressed("move_down"):
		direction = Vector2.DOWN
	return direction

static func is_movement_input() -> bool:
	return movement_input() != Vector2.ZERO
